package top.lixunda.ecommerce.server.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Xumda
 * @version time:2019/11/25 10:53
 * <p>
 * 关于email发送的配置信息类
 */
@Data
@Component
@ConfigurationProperties(prefix = "xum.email")
public class EmailProperties {

    /**
     * 收取者读取文件时看见的
     */
    private String name;

    private String account;

    private String password;

    private String smtp;

}
